﻿@model dynamic
@{
    Layout.Title = "Register";
    
}


<div class="container" style="margin-top: 30px">
    <div class="row">
        <div class="span12">
            <div class="tabbable">
                <ul class="nav nav-tabs">
                    <li class="active">
                        <a href="#email" data-toggle="tab">邮箱登陆</a>
                    </li>
                    <li>
                        <a href="#vip" data-toggle="tab">VIP登陆</a>
                    </li>
                </ul>
                <div class="tab-content">
                    <div class="tab-pane active" id="email">
                        @if (ViewData["Message"] != null)
                        {
                            if (ViewData["Message"] == "该邮箱已被注册")
                            {
                            <div class="alert alert-error">
                                <button type="button" class="close" data-dismiss="alert">&times;</button>
                                <strong>@ViewData["Message"]</strong>
                            </div>
                            }
                            else
                            {
                            <div class="alert alert-success">
                                <button type="button" class="close" data-dismiss="alert">&times;</button>
                                <strong>@ViewData["Message"]</strong>
                            </div>
                            }

                        }

                        <form class="form-horizontal" style="line-height: 80px; height: 700px" method="POST" action="~/CloudClass/Home/Register">


                            <div class="control-group">

                                <div class="controls">
                                    <input id="inputEmail" type="text" name="Email" class="input-xxlarge " msg="邮箱" style="height: 40px" maxlength="20" placeholder="请输入邮箱" required="required" reg="email" />
                                </div>
                            </div>
                            <div class="control-group">

                                <div class="controls">
                                    <input id="Password" type="password" name="Password" class="input-xxlarge" style="height: 40px" placeholder="请输入密码 " required="required" />
                                </div>
                            </div>
                            <div class="control-group">

                                <div class="controls">
                                    <input id="ConfirmPassword" type="password" class="input-xxlarge" name="ConfirmPassword" style="height: 40px" placeholder="请输入确认密码" required="required" reg="confirm" />
                                </div>
                            </div>
                            <div class="control-group">

                                <div class="controls">
                                    <input id="check" type="text" class="input-xlarge" style="height: 40px" placeholder="请输入验证码" required="required" />
                                    &nbsp;&nbsp;&nbsp;&nbsp;
                                    <img src="#ss" />
                                </div>
                            </div>
                            <div class="control-group">
                                <div class="controls">

                                    <button type="submit" class="btn btn-primary btn-large" style="width: 300px">注册</button>

                                </div>
                            </div>
                        </form>
                    </div>
                    <div class="tab-pane" id="vip">
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
